<?xml version="1.0"?>
<doc>
    <assembly>
        <name>DataSourceLibray</name>
    </assembly>
    <members>
        <member name="T:DataSourceLibray.BaseDevicePLC">
            <summary>
            基础设备 PLC
            </summary>
        </member>
        <member name="M:DataSourceLibray.BaseDevicePLC.GetDevicePropertiesName``1(``0)">
            <summary>
            获取设备属性名称
            </summary>
            <returns></returns>
        </member>
        <member name="M:DataSourceLibray.BaseDevicePLC.GetDeviceProperties``1(``0)">
            <summary>
            获取设备属性名称以及对应值
            </summary>
            <returns></returns>
        </member>
        <member name="M:DataSourceLibray.BaseDevicePLC.GetDeviceDescription``1(``0)">
            <summary>
            获取设备字段描述
            </summary>
            <returns></returns>
        </member>
        <member name="M:DataSourceLibray.BaseDevicePLC.SetDevicePropertieByDescription``1(``0,System.Collections.Generic.Dictionary{System.String,System.Object})">
            <summary>
            设置属性，通过 DescriptionAttribute 来匹配名称，区分大小写
            </summary>
            <param name="t"></param>
            <param name="kv"></param>        
        </member>
        <member name="M:DataSourceLibray.BaseDevicePLC.SetDevicePropertie``1(``0,System.Collections.Generic.Dictionary{System.String,System.Object})">
            <summary>
            设置属性，通过属性名称来匹配区分大小写
            </summary>
            <param name="t"></param>
            <param name="kv"></param>
        </member>
        <member name="T:DataSourceLibray.ReflectionCache">
            <summary>
            
            </summary>
        </member>
        <member name="M:DataSourceLibray.ReflectionCache.GetFields(System.Type)">
            <summary>
            获取对象字段
            </summary>
            <param name="type"></param>
            <returns></returns>
        </member>
        <member name="M:DataSourceLibray.ReflectionCache.GetProperties(System.Type)">
            <summary>
            获取对象属性
            </summary>
            <param name="type"></param>
            <returns></returns>
        </member>
        <member name="M:DataSourceLibray.ReflectionCache.GetMethods(System.Type)">
            <summary>
            获取对象方法
            </summary>
            <param name="type"></param>
            <returns></returns>
        </member>
        <member name="P:DataSourceLibray.DBManager.Instance">
            <summary>
            单例入口
            </summary>
        </member>
        <member name="M:DataSourceLibray.DBManager.Init(System.String[])">
            <summary>
            初始化mysql连接，支持多个数据库
            <para>
            Data Source=127.0.0.1;Port=3306;User ID=root;Password=root; Initial Catalog=cccddd;Charset=utf8;AllowLoadLocalInfile=true;SslMode=none;Min pool size=1
            </para>
            </summary>
            <param name="connectStrings"></param>
        </member>
        <member name="M:DataSourceLibray.DBManager.GetDB(System.Int32)">
            <summary>
            根据初始化时的参数索找到对应操作数据对象
            </summary>
            <param name="index"></param>
            <returns></returns>
            <exception cref="T:System.ArgumentOutOfRangeException"></exception>
        </member>
        <member name="M:DataSourceLibray.DBManager.GetDbDefault">
            <summary>
            获取默认第一个数据库
            </summary>
            <returns></returns>
            <exception cref="T:System.ArgumentNullException"></exception>
        </member>
        <member name="T:DataSourceLibray.ObjectExt">
            <summary>
            class扩展
            </summary>
        </member>
        <member name="M:DataSourceLibray.ObjectExt.MapperTo``2(``0,``1)">
            <summary>
            本对象属性映射到目标对象属性
            </summary>
            <typeparam name="T1"></typeparam>
            <typeparam name="T2"></typeparam>
            <param name="sourceObj"></param>
            <param name="targetObj"></param>
        </member>
        <member name="M:DataSourceLibray.ObjectExt.MapperTo``2(``0,``1,System.Action{``0,``1})">
            <summary>
            自定义映射当前对象到目标对象
            </summary>
            <typeparam name="T1"></typeparam>
            <typeparam name="T2"></typeparam>
            <param name="sourceObj"></param>
            <param name="t2"></param>
            <param name="action">(sourceObj,targetObj)=>{ targetObj.yy=sourceObj.xx }</param>
        </member>
        <member name="M:DataSourceLibray.ObjectExt.MapperFrom``2(``0,``1)">
            <summary>
            来源对象属性映射到本对象属性
            <para>映射同名属性，区分大小写</para>        
            </summary>
            <typeparam name="T1"></typeparam>
            <typeparam name="T2"></typeparam>
            <param name="targetObj"></param>
            <param name="sourceObj"></param>
        </member>
        <member name="M:DataSourceLibray.ObjectExt.MapperFrom``2(``0,``1,System.Action{``0,``1})">
            <summary>
            自定义映射对象属性
            </summary>
            <typeparam name="TTarget"></typeparam>
            <typeparam name="TSource"></typeparam>
            <param name="target"></param>
            <param name="source"></param>
            <param name="action">(targetObj,sourctObj)=>{targetObj.xx=sourctObj.yy }</param>
        </member>
        <member name="M:DataSourceLibray.ObjectExt.CreateSetPropertyInfoDelegate``2(System.Reflection.PropertyInfo)">
            <summary>
            
            </summary>
            <typeparam name="TTarget"></typeparam>
            <typeparam name="TProperty"></typeparam>
            <param name="propertyInfo"></param>
            <returns></returns>
        </member>
        <member name="M:DataSourceLibray.ObjectExt.CreateGetPropertyInfoDelegate``2(System.Reflection.PropertyInfo)">
            <summary>
            
            </summary>
            <typeparam name="TTarget"></typeparam>
            <typeparam name="TProperty"></typeparam>
            <param name="propertyInfo"></param>
            <returns></returns>
        </member>
        <member name="T:DataSourceLibray.S7PlcManagerExt">
            <summary>
            plc扩展
            </summary>
        </member>
        <member name="M:DataSourceLibray.S7PlcManagerExt.Close(S7.Net.Plc)">
            <summary>
            关闭连接
            </summary>
            <param name="plc"></param>
        </member>
        <member name="M:DataSourceLibray.S7PlcManagerExt.OpenConnection(S7.Net.Plc)">
            <summary>
            打开plc，并且连接
            </summary>
            <param name="plc"></param>
            <exception cref="T:S7.Net.PlcException"></exception>
        </member>
        <member name="M:DataSourceLibray.S7PlcManagerExt.ReadListByAddress(S7.Net.Plc,System.Boolean,System.String[])">
            <summary>
            从plc读取多个地址
            <para>注意值的类型</para>
            </summary>
            <param name="plc"></param>
            <param name="convDWord2Read">是否进行类型转化，DWORD TO READ （uint to float）</param>
            <param name="plcAdr">plc adr,多个地址</param>
            <returns></returns>
            <exception cref="T:System.ArgumentNullException"></exception>
        </member>
        <member name="M:DataSourceLibray.S7PlcManagerExt.ReadListByAddress``1(S7.Net.Plc,``0)">
             <summary>
             更具实体类标识获取s7datatiem地址内容
             <para>PLC与C#数据类型对应</para>
             <para>Bit=>bool</para>        
            <para>Byte=>byte</para>
            <para>word=>ushort</para>
            <para>DWord=>uint</para>
            <para>Int=>short</para>
            <para>DInt=>int</para>
            <para>Real=>float</para>
            <para>LReal=>double</para>
            <para>String=>string</para>
             </summary>
             <typeparam name="T">对象类（属性需要标记特性指定plc地址 DescriptionAttribute ）</typeparam>
             <param name="plc"></param>
             <param name="t"></param>
             <exception cref="T:System.ArgumentNullException"></exception>
        </member>
        <member name="M:DataSourceLibray.S7PlcManagerExt.ToValue``1(System.Object)">
            <summary>
            返回指定类型的值
            </summary>
            <typeparam name="T"></typeparam>
            <param name="obj"></param>
            <returns></returns>
        </member>
        <member name="M:DataSourceLibray.S7PlcManagerExt.ToFloat(System.UInt32)">
             <summary>
             uint 转 float
             <para>
            plc 值类型从 DWORD 转 READ类型
             </para>
             </summary>
             <param name="val"></param>
             <returns></returns>
        </member>
        <member name="T:DataSourceLibray.Handler.Alarm">
            <summary>
            报警控制（通用报警）
            </summary>
        </member>
        <member name="E:DataSourceLibray.Handler.Alarm.Warning">
            <summary>
            报警事件
            </summary>
        </member>
        <member name="M:DataSourceLibray.Handler.Alarm.OnWarning(DataSourceLibray.Handler.WarningEventArgs,System.Object)">
            <summary>
            
            </summary>
            <param name="args"></param>
            <param name="source">数据来源</param>
        </member>
        <member name="M:DataSourceLibray.Handler.Alarm.OnWarning``1(``0,System.Func{``0,System.Boolean},System.String,System.String,System.Object)">
            <summary>
            
            </summary>
            <typeparam name="T"></typeparam>
            <param name="t">报警参数</param>
            <param name="func">报警参数内容验证逻辑</param>
            <param name="msg">报警提示内容</param>
            <param name="typeName">唯一类型</param>
            <param name="source">数据来源</param>
        </member>
        <member name="M:DataSourceLibray.Handler.Alarm.OnWarning``2(``0,``1,System.Func{``0,``1,System.Boolean},System.String,System.String,System.Object)">
            <summary>
            
            </summary>
            <typeparam name="T1"></typeparam>
            <typeparam name="T2"></typeparam>
            <param name="t1">报警参数1</param>
            <param name="t2">报警参数2</param>
            <param name="func">报警参数验证条件</param>
            <param name="msg">报警提示内容</param>
            <param name="typeName">唯一类型</param>
            <param name="source">数据来源</param>
        </member>
        <member name="M:DataSourceLibray.Handler.Alarm.OnWarning``3(``0,``1,``2,System.Func{``0,``1,``2,System.Boolean},System.String,System.String,System.Object)">
            <summary>
            
            </summary>
            <typeparam name="T1"></typeparam>
            <typeparam name="T2"></typeparam>
            <typeparam name="T3"></typeparam>
            <param name="t1">报警参数1</param>
            <param name="t2">报警参数2</param>
            <param name="t3">报警参数3</param>
            <param name="func">报警参数验证条件</param>
            <param name="msg">报警提示内容</param>
            <param name="typeName">唯一类型</param>
            <param name="source">数据来源</param>
        </member>
        <member name="M:DataSourceLibray.Handler.Alarm.OnWarning``4(``0,``1,``2,``3,System.Func{``0,``1,``2,``3,System.Boolean},System.String,System.String,System.Object)">
            <summary>
            
            </summary>
            <typeparam name="T1"></typeparam>
            <typeparam name="T2"></typeparam>
            <typeparam name="T3"></typeparam>
            <typeparam name="T4"></typeparam>
            <param name="t1">报警参数1</param>
            <param name="t2">报警参数2</param>
            <param name="t3">报警参数3</param>
            <param name="t4">报警参数4</param>
            <param name="func">报警参数条件验证</param>
            <param name="msg">报警内容</param>
            <param name="typeName">唯一类型</param>
            <param name="source">数据来源</param>
        </member>
        <member name="T:DataSourceLibray.Handler.WarningEventArgs">
            <summary>
            报警事件参数
            </summary>
        </member>
        <member name="P:DataSourceLibray.Handler.WarningEventArgs.Msg">
            <summary>
            提示内容
            </summary>
        </member>
        <member name="P:DataSourceLibray.Handler.WarningEventArgs.TypeName">
            <summary>
            报警唯一类型
            </summary>
        </member>
        <member name="T:DataSourceLibray.Handler.Alarm`1">
            <summary>
            指定类型的报警
            </summary>
            <typeparam name="TSource"></typeparam>
        </member>
        <member name="E:DataSourceLibray.Handler.Alarm`1.Warning2">
            <summary>
            
            </summary>
        </member>
        <member name="M:DataSourceLibray.Handler.Alarm`1.OnWarning2``1(``0,System.Func{``0,System.Boolean},System.String,System.String,`0)">
            <summary>
            
            </summary>
            <typeparam name="T1"></typeparam>
            <param name="t1">报警参数</param>
            <param name="func">报警条件</param>
            <param name="msg">报警信息</param>
            <param name="typeName"></param>
            <param name="source">数据来源</param>
        </member>
        <member name="M:DataSourceLibray.Handler.Alarm`1.OnWarning2``2(``0,``1,System.Func{``0,``1,System.Boolean},System.String,System.String,`0)">
            <summary>
            
            </summary>
            <typeparam name="T1"></typeparam>
            <typeparam name="T2"></typeparam>
            <param name="t1"></param>
            <param name="t2"></param>
            <param name="func"></param>
            <param name="msg"></param>
            <param name="typeName"></param>
            <param name="source"></param>
        </member>
        <member name="M:DataSourceLibray.Handler.Alarm`1.OnWarning2``3(``0,``1,``2,System.Func{``0,``1,``2,System.Boolean},System.String,System.String,`0)">
            <summary>
            
            </summary>
            <typeparam name="T1"></typeparam>
            <typeparam name="T2"></typeparam>
            <typeparam name="T3"></typeparam>
            <param name="t1"></param>
            <param name="t2"></param>
            <param name="t3"></param>
            <param name="func"></param>
            <param name="msg"></param>
            <param name="typeName"></param>
            <param name="source"></param>
        </member>
        <member name="M:DataSourceLibray.Handler.Alarm`1.OnWarning2``4(``0,``1,``2,``3,System.Func{``0,``1,``2,``3,System.Boolean},System.String,System.String,`0)">
            <summary>
            
            </summary>
            <typeparam name="T1"></typeparam>
            <typeparam name="T2"></typeparam>
            <typeparam name="T3"></typeparam>
            <typeparam name="T4"></typeparam>
            <param name="t1"></param>
            <param name="t2"></param>
            <param name="t3"></param>
            <param name="t4"></param>
            <param name="func"></param>
            <param name="msg"></param>
            <param name="typeName"></param>
            <param name="source"></param>
        </member>
        <member name="M:DataSourceLibray.ModBusManager.Init(DataSourceLibray.Model.ModBusParam[])">
            <summary>
            初始化操作，只能执行一次
            </summary>
            <param name="mps"></param>
        </member>
        <member name="M:DataSourceLibray.ModBusManager.GetTcpClient(System.String)">
            <summary>
            
            </summary>
            <param name="customKey"></param>
            <returns></returns>
            <exception cref="T:System.ArgumentException"></exception>
        </member>
        <member name="M:DataSourceLibray.ModBusManager.GetModbusMasterByTcp(System.String)">
            <summary>
            更具自定义键
            获取一个modbus tcp 链接
            </summary>
            <param name="customKey"></param>
            <returns></returns>
        </member>
        <member name="T:DataSourceLibray.Model.DataBlockInfo">
            <summary>
            db地址说明
            </summary>
        </member>
        <member name="P:DataSourceLibray.Model.DataBlockInfo.Id">
            <summary>
            序号
            </summary>
        </member>
        <member name="P:DataSourceLibray.Model.DataBlockInfo.DeviceCode">
            <summary>
            设备代号
            </summary>
        </member>
        <member name="P:DataSourceLibray.Model.DataBlockInfo.DBBlock">
            <summary>
            db块
            </summary>
        </member>
        <member name="P:DataSourceLibray.Model.DataBlockInfo.DeviceName">
            <summary>
            设备名称
            </summary>
        </member>
        <member name="P:DataSourceLibray.Model.DataBlockInfo.DeviceAddress">
            <summary>
            设备地址
            </summary>
        </member>
        <member name="P:DataSourceLibray.Model.DataBlockInfo.Remark">
            <summary>
            备注
            </summary>
        </member>
        <member name="P:DataSourceLibray.Model.DataBlockInfo.VarName">
            <summary>
            变量名
            </summary>
        </member>
        <member name="P:DataSourceLibray.Model.DataBlockInfo.VarValue">
            <summary>
            变量值
            </summary>
        </member>
        <member name="P:DataSourceLibray.Model.DataBlockInfo.DataType">
            <summary>
            数据类型
            </summary>
        </member>
        <member name="P:DataSourceLibray.Model.DataBlockInfo.Note">
            <summary>
            注释
            </summary>
        </member>
        <member name="P:DataSourceLibray.Model.DataBlockInfo.IsWrite">
            <summary>
            是否写
            </summary>
        </member>
        <member name="P:DataSourceLibray.Model.DataBlockInfo.IsRead">
            <summary>
            是否读
            </summary>
        </member>
        <member name="P:DataSourceLibray.Model.DataBlockInfo.WR">
            <summary>
            读、写
            </summary>
        </member>
        <member name="P:DataSourceLibray.Model.DataBlockInfo.Trend">
            <summary>
            趋势
            </summary>
        </member>
        <member name="P:DataSourceLibray.Model.DataBlockInfo.IsTrend">
            <summary>
            是否趋势
            </summary>
        </member>
        <member name="M:DataSourceLibray.Model.DataItem2.FromAddress2(System.String,System.Boolean)">
            <summary>
            plc地址解析
            </summary>
            <param name="address"></param>
            <param name="convDWord2Read"></param>
            <returns></returns>
        </member>
        <member name="T:DataSourceLibray.Model.ModBusParam">
            <summary>
            modbus 初始化参数
            </summary>
        </member>
        <member name="P:DataSourceLibray.Model.ModBusParam.CustomName">
            <summary>
            自定义名称不可以重复，用于区分多个modbus
            </summary>
        </member>
        <member name="P:DataSourceLibray.Model.ModBusParam.ModbusType">
            <summary>
            modbus 链接类型
            </summary>
        </member>
        <member name="P:DataSourceLibray.Model.ModBusParam.IPAddress">
            <summary>
            tcp/ip 模式下的ip地址
            </summary>
        </member>
        <member name="P:DataSourceLibray.Model.ModBusParam.Port">
            <summary>
            tcp/ip 模式下ip对应的端口号（默认502）
            </summary>
        </member>
        <member name="T:DataSourceLibray.Model.ModbusType">
            <summary>
            modbus 模式类型
            </summary>
        </member>
        <member name="F:DataSourceLibray.Model.ModbusType.TCP">
            <summary>
            modbus for tcp
            </summary>
        </member>
        <member name="T:DataSourceLibray.Model.S7PlcParam">
            <summary>
            plc参数设置
            </summary>
        </member>
        <member name="P:DataSourceLibray.Model.S7PlcParam.CpuType">
            <summary>
            cpu类型
            </summary>
        </member>
        <member name="P:DataSourceLibray.Model.S7PlcParam.Ip">
            <summary>
            plc对应ip地址
            </summary>
        </member>
        <member name="P:DataSourceLibray.Model.S7PlcParam.Rack">
            <summary>
            支架号
            </summary>
        </member>
        <member name="P:DataSourceLibray.Model.S7PlcParam.Slot">
            <summary>
            槽号
            </summary>
        </member>
        <member name="P:DataSourceLibray.Model.S7PlcParam.CustomName">
            <summary>
            自定义名称不可以重复，用于区分多个plc
            </summary>
        </member>
        <member name="P:DataSourceLibray.RedisManager.Instance">
            <summary>
            单例入口
            </summary>
        </member>
        <member name="M:DataSourceLibray.RedisManager.Init(System.String)">
            <summary>
            初始化redis连接
            <para>
            127.0.0.1:6379,password=123,defaultDatabase=0
            </para>
            </summary>
            <param name="connectString"></param>
        </member>
        <member name="T:DataSourceLibray.S7PlcManager">
            <summary>
            
            </summary>
        </member>
        <member name="P:DataSourceLibray.S7PlcManager.IsInit">
            <summary>
            是否已经初始化
            </summary>
        </member>
        <member name="E:DataSourceLibray.S7PlcManager.LoggerEvent">
            <summary>
            日志事件
            </summary>
        </member>
        <member name="P:DataSourceLibray.S7PlcManager.Instance">
            <summary>
            单例入口
            </summary>
        </member>
        <member name="M:DataSourceLibray.S7PlcManager.Init(DataSourceLibray.Model.S7PlcParam[])">
            <summary>
            初始化参数，支持多个plc
            </summary>
            <param name="S7PlcParams"></param>
            <exception cref="T:System.ArgumentException"></exception>
        </member>
        <member name="M:DataSourceLibray.S7PlcManager.GetPlc(System.String)">
            <summary>
            根据自定义名称键值找到对应plc
            </summary>
            <param name="customNameKey"></param>
            <returns></returns>
            <exception cref="T:System.IndexOutOfRangeException"></exception>
        </member>
        <member name="M:DataSourceLibray.S7PlcManager.GetPlc(System.Int32)">
            <summary>
            更具参数下标找到对应plc
            </summary>
            <param name="plcIndex"></param>
            <returns></returns>
            <exception cref="T:System.ArgumentNullException"></exception>
        </member>
        <member name="M:DataSourceLibray.S7PlcManager.Enqueue(System.Action)">
            <summary>
            需要队列处理的操作
            <para>
            Enqueue(()=>{ //do someing method(); });
            </para>
            </summary>
            <param name="action"></param>
        </member>
        <member name="M:DataSourceLibray.S7PlcManager.GetQueueCount">
            <summary>
            获取队列长度
            </summary>
            <returns></returns>
        </member>
        <member name="M:DataSourceLibray.S7PlcManager.Dispose">
            <summary>
            资源释放，关闭连接
            </summary>
        </member>
        <member name="T:DataSourceLibray.TcpClientManager">
             <summary>
            
             </summary>
        </member>
        <member name="P:DataSourceLibray.TcpClientManager.Instance">
            <summary>
            单例模式
            </summary>
        </member>
        <member name="P:DataSourceLibray.TcpClientManager.Message">
            <summary>
            接收到的消息
            </summary>
        </member>
        <member name="M:DataSourceLibray.TcpClientManager.Init(System.String,System.Int32)">
            <summary>
            初始化
            </summary>
            <param name="strServerIP"></param>
            <param name="nPort"></param>
        </member>
        <member name="E:DataSourceLibray.TcpClientManager.ReceiveData">
            <summary>
            定义事件
            </summary>
        </member>
        <member name="M:DataSourceLibray.TcpClientManager.ReceiveInfo(System.IAsyncResult)">
            <summary>
            接收TCP服务端发来的消息
            </summary>
            <param name="ir"></param>
        </member>
        <member name="T:DataSourceLibray.TcpServerManager">
             <summary>
            
             </summary>
        </member>
        <member name="M:DataSourceLibray.TcpServerManager.Init(System.String,System.Int32)">
             <summary>
            初始化TCP服务器
             </summary>
             <param name="strIpAddress"></param>
             <param name="nPort"></param>
        </member>
        <member name="P:DataSourceLibray.TcpServerManager.GetServer">
             <summary>
            返回服务器对象
             </summary>
        </member>
    </members>
</doc>
